export interface MarkItem {
	name: string
	id: string
	imgUrl?: string
	processInfo: {
		text: string
		color: string
	}
	childList: MarkChildItem[]
}

export interface MarkChildItem {
	id: string
	numStr: string
	scoreInfo: {
		text: string
		color: string
	}
	name: string
	cannot: boolean
	imgUrl?: string
	parentQuestionId: string | null
	totalScore: number
	topicId: number
	splitTaskId: number
	num: string
	imgList: string[]
	markInfo: string[]
	score: null | number
	label: string
	answerList: string[]
}

export interface ActiveInfo {
	userId: string
	questionId: string
	parentQuestionId: string
	tabsKey: 'user' | 'question'
	username: string
	topicNumStr: string
	avatar: string
	score: null | number
  oldScore: null | number
	label: string
	totalScore: number
  taskId: string
}
export interface UserGroup {
	id: string
	name: string
	imgUrl: string
	processInfo: {
		text: string
		color: string
	}
	childList: {
		id: string
		numStr: string
    numText:string
		scoreInfo: {
			text: string
			color: string
		}
		name: string
		cannot: boolean
		parentQuestionId: string | null
		totalScore: number
		topicId: number
		splitTaskId: number
		num: string
		imgList: string[]
		markInfo: string[]
		score: null | number
		label: string
		answerList: string[]
	}[]
}
export interface QuestionGroup {
	id: string
	numStr: string
	name: string
	processInfo: {
		text: string
		color: string
	}
	childList: {
		id: string
		name: string
		imgUrl: string
		cannot: boolean
		scoreInfo: {
			text: string
			color: string
		}
	}[]
}
